package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.RefundContractDao;
import io.renren.entity.RefundContractEntity;
import io.renren.service.RefundContractService;



@Service("refundContractService")
public class RefundContractServiceImpl implements RefundContractService {
	@Autowired
	private RefundContractDao refundContractDao;
	
	@Override
	public RefundContractEntity queryObject(Integer id){
		return refundContractDao.queryObject(id);
	}
	
	@Override
	public List<RefundContractEntity> queryList(Map<String, Object> map){
		return refundContractDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return refundContractDao.queryTotal(map);
	}
	
	@Override
	public void save(RefundContractEntity refundContract){
		refundContractDao.save(refundContract);
	}

	@Override
	public void update(RefundContractEntity refundContract){
		refundContractDao.update(refundContract);
	}
	
	@Override
	public void delete(Integer id){
		refundContractDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		refundContractDao.deleteBatch(ids);
	}
	
}
